package com.he.DesignPatterns.decorator.demo1;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/27 11:16
 */
public class FriedNoodles extends FastFood{

    public FriedNoodles(){
        super(12d,"炒面");
    }
    @Override
    public double cost() {
        return getPrice();
    }
}
